package com.lagou.wwyan.rpc.register;

public class ZookeeperRpcRegisterFactory implements RpcRegisterFactory{
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public RpcRegister getRegister() {
        return new ZookeeperRpcRegister(url);
    }
}
